module.exports = {
  // presets: [
  //   // https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
  //   // '@vue/cli-plugin-babel/preset'
  //   // 此插件存在在webpack4以下版本偶尔无法解析
  //   //jsx语法转换
  //   "@babel/preset-env" 
  // ],
  // 'env': {
  //   'development': {
  //     // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
  //     // This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
  //     'plugins': [
  //       //语法转换(自动注入)
  //       // 'babel-plugin-dynamic-import-webpack',
  //       // '@vue/babel-plugin-jsx'
  //       '@vue/babel-preset-jsx'
  //     ]
  //   }
  // }
  
  presets: [
    '@vue/cli-plugin-babel/preset',
    ['@vue/babel-preset-jsx',
      {
        'injectH': false
      }]
  ],
}
